﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCF.Practice.UsingTemplate.Client.ServiceReference1;

namespace WCF.Practice.UsingTemplate.Client
{
    class Program
    {
        static void Main(string[] args)
        {
            Task.Run(async () =>
            {
                var service = new Service1Client();

                Console.WriteLine("the value is " + await service.GetDataAsync(10));

                Console.ReadLine();
            }).Wait();
        }
    }
}
